package com.biglead.admin.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.pojo.UmsMenu;
import com.biglead.admin.pojo.UmsMenuNode;

import java.util.List;

/**
 * 后台菜单管理Service
 * Created by macro on 2020/2/2.
 */
public interface UmsMenuService {
    Page<UmsMenu> list(Long parentId, Integer pageSize, Integer pageNum);

    UmsMenu getItem(Long id);

    boolean update(Long id, UmsMenu umsMenu);

    boolean delete(Long id);

    boolean create(UmsMenu umsMenu);

    List<UmsMenuNode> treeList();

    boolean updateHidden(Long id, Integer hidden);
}
